﻿namespace HelenServer.UserCenter.Contracts;

public interface IDalDepartmentService
{
    Task<OperationResult<int>> AddAsync(Operation<DepartmentCreateModel> operation, CancellationToken cancellationToken = default);

    Task<OperationResult<int>> AddRangeAsync(Operation<IEnumerable<DepartmentCreateModel>> operation, CancellationToken cancellationToken = default);

    Task<OperationResult<int>> AddIdentityRangeAsync(Operation<IEnumerable<DepartmentCreateModel>> operation, CancellationToken cancellationToken = default);
}